package com.bdqn.mapper.impl;
import com.bdqn.mapper.SysUserMapper;
import com.bdqn.pojo.SysUser;
import org.mybatis.spring.SqlSessionTemplate;

import java.util.List;

public class SysUserMapperImpl implements SysUserMapper {
    private SqlSessionTemplate sqlSession;
    public SqlSessionTemplate getSqlSession(){
        return sqlSession;
    }
    public void setSqlSession(SqlSessionTemplate sqlSession){
        this.sqlSession = sqlSession;
    }

    @Override
    public List<SysUser> getList(SysUser sysUser) {
        return sqlSession.selectList("com.bdqn.mapper.SysUserMapper.list",sysUser);
    }

    @Override
    public int add(SysUser sysUser) {
        return 0;
    }
}